/*
 * 创建日期 2010-4-16
 *
 * 成都天和软件公司
 * 电话：028-85425861
 * 传真：028-85425861-8008
 * 邮编：610041 
 * 版权所有
 */
package  org.fantasy.cpp.core.html.query;

import javax.servlet.http.HttpServletRequest;

import  org.fantasy.cpp.core.bean.ParamContext;
import  org.fantasy.cpp.core.html.QueryHtml;

/**
 * Html构造工厂
 * @author: 王文成
 * @version: 1.0
 * @since 2010-4-16
 */
public class QueryHtmlFactory {

	public static QueryHtml getCheckBoxBuilder(HttpServletRequest request, ParamContext param) {
		return new CheckBoxHtml(request, param);
	}

	public static QueryHtml getDateBetweenBuilder(HttpServletRequest request, ParamContext param) {
		return new DateBetweenHtml(request, param);
	}

	public static QueryHtml getTextBetweenBuilder(HttpServletRequest request, ParamContext param) {
		return new TextBetweenHtml(request, param);
	}

	public static QueryHtml getDateBuilder(HttpServletRequest request, ParamContext param) {
		return new DateHtml(request, param);
	}

	public static QueryHtml getRadioBuilder(HttpServletRequest request, ParamContext param) {
		return new RadioHtml(request, param);
	}

	public static QueryHtml getSelectBuilder(HttpServletRequest request, ParamContext param) {
		return new SelectHtml(request, param);
	}
	
	public static QueryHtml getTreeBuilder(HttpServletRequest request, ParamContext param) {
		return new TreeHtml(request, param);
	}

	public static QueryHtml getTextBuilder(HttpServletRequest request, ParamContext param) {
		return new TextHtml(request, param);
	}

	public static QueryHtml getTextAreaBuilder(HttpServletRequest request, ParamContext param) {
		return new TextAreaHtml(request, param);
	}

	public static QueryHtml getHiddenBuilder(HttpServletRequest request, ParamContext param) {
		return new HiddenHtml(request, param);
	}
}
